<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Uploadify Example Script</title>
<link href="__PUBLIC__/example/css/default.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/example/css/uploadify.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__PUBLIC__/example/scripts/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/example/scripts/swfobject.js"></script>
<script type="text/javascript" src="__PUBLIC__/example/scripts/jquery.uploadify.v2.1.0.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
	$("#uploadify").uploadify({
		'uploader'       : '__PUBLIC__/example/scripts/uploadify.swf',
		'script'         : '__PUBLIC__/example/scripts/uploadify.php',
		'cancelImg'      : '__PUBLIC__/example/cancel.png',
		'folder'         : '__PUBLIC__/example/uploads/project2/',
		'queueID'        : 'fileQueue',
		'auto'           : false,
		'multi'          : true
	});
});
</script>
</head>

<body>
<div id="fileQueue"></div>

<input type="file" name="uploadify" id="uploadify">
<a>&nbsp&nbsp&nbsp</a>
<a href="javascript:jQuery('#uploadify').uploadifyUpload()">上传</a>
<a>&nbsp&nbsp&nbsp</a>
<a href="javascript:jQuery('#uploadify').uploadifyClearQueue()">清空列表</a>

<p>项目文件下载</p>
<volist name="list" id="vo">
 <p>
 <a>{$vo.orginalname}&nbsp &nbsp &nbsp</a>
 <a href="__PUBLIC__/php/down.php?name={$vo.newname}">下载</a>
 </p>       
</volist>
</body>
</html>